package com.atech.ebayadmin.merchandise.service;

import java.util.Map;

import com.atech.ebayadmin.merchandise.vo.RecordVO;
import com.atech.ebayadmin.system.vo.UserVO;

public interface IBatchService{
    /**
     * Batch import file service
     *
     * @param String filePath
     *
     * @return success or not
     * @throws java.lang.Exception
     */
	public String importFile(UserVO user, String filePath) throws Exception;
    /**
     * Batch export file service
     *
     * @param String filePath
     *
     * @return success or not
     * @throws java.lang.Exception
     */
	public String exportFile(Map filter, RecordVO dispRe) throws Exception;
	
	/**
     * File batch operation service
     *
     * @param N/A
     * @return Number of new records added
     * @throws N/A
     */
	public int getNumOfNew();
	
	/**
     * File batch operation service
     *
     * @param N/A
     * @return Number of records updated
     * @throws N/A
     */
	public int getNumOfUpdated();

}
